// requestScreenCapture();
// captureScreen("/sdcard/Pictures/wxda.jpg");
// sleep(2000);
sendmaila("/sdcard/Pictures/wxda.jpg");

function sendmaila(filepath) {
    app.sendEmail({
        email: ["1049725878@qq.com"],
        subject: "这是一个邮件标题",
        text: "这是邮件正文",
        attachment: filepath
    });
    

    // sleep(2000);
    // click(101, 800);
    // sleep(2000);

    // click(654, 110);
    // sleep(500);
}
